package com.jzsk.variable.center.dao.zhengxin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 征信基础字段配置
 * </p>
 *
 * @author jiangli
 * @since 2024-02-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class ZxFieldsConfig implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 唯一标识
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 字段编码
     */
    private String fieldCode;

    /**
     * 字段名称
     */
    private String fieldName;

    /**
     * 数据类型，STRING-字符串；INTEGER-整数；FLOAT-浮点数；DATE-日期；DATETIME-日期时间；
     */
    private String dataType;

    /**
     * 实现类
     */
    private String implement;

    /**
     * 字段释义说明
     */
    private String fieldNote;

    /**
     * 状态，0-启用，1-停用
     */
    private Integer state;

    /**
     * 组（部门）
     */
    private String group;

    /**
     * 组名（部门名）
     */
    private String groupName;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    private LocalDateTime updateTime;

    /**
     * 更新人
     */
    private String updateUser;


    public static final String ID = "id";

    public static final String FIELD_CODE = "field_code";

    public static final String FIELD_NAME = "field_name";

    public static final String DATA_TYPE = "data_type";

    public static final String IMPLEMENT = "implement";

    public static final String FIELD_NOTE = "field_note";

    public static final String STATE = "state";

    public static final String GROUP = "group";

    public static final String GROUP_NAME = "group_name";

    public static final String CREATE_TIME = "create_time";

    public static final String UPDATE_TIME = "update_time";

    public static final String UPDATE_USER = "update_user";

}
